asyncio nostr client
Project description
electrum-aionostr
asyncio nostr client
Free software: BSD license
Original Author: Dave St.Germain
Fork Author/Maintainer: The Electrum Developers
Language: Python (>= 3.10)
This is a fork of aionostr that does not require Coincurve.
Getting started
$ python3 -m pip install --user ".[crypto]"
Features
- Retrieve anything from the nostr network, using one command:
$ aionostr get nprofile1qqsv0knzz56gtm8mrdjhjtreecl7dl8xa47caafkevfp67svwvhf9hcpz3mhxue69uhkgetnvd5x7mmvd9hxwtn4wvspak3h
$ aionostr get -v nevent1qqsxpnzhw2ddf2uplsxgc5ctr9h6t65qaalzvzf0hvljwrz8q64637spp3mhxue69uhkyunz9e5k75j6gxm
$ aionostr query -s -q '{"kinds": [1], "limit":10}'
$ aionostr send --kind 1 --content test --private-key <privatekey>
$ aionostr mirror -r wss://source.relay -t wss://target.relay --verbose '{"kinds": [4]}'
Set environment variables:
NOSTR_RELAYS=wss://brb.io,wss://nostr.mom
NOSTR_KEY=`aionostr gen | head -1`
Maintainer notes
Release checklist:
- bump
__version__
in__init__.py
- write changelog in
docs/history.md
$ git tag -s $VERSION -m "$VERSION"
$ git push "$REMOTE_ORIGIN" tag "$VERSION"
- build sdist (see
contrib/sdist/
):$ ELECBUILD_COMMIT=HEAD ELECBUILD_NOCACHE=1 ./contrib/sdist/build.sh
$ python3 -m twine upload dist/$DISTNAME
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
electrum_aionostr-0.0.11.tar.gz
(22.1 kB
view details)
File details
Details for the file electrum_aionostr-0.0.11.tar.gz
.
File metadata
- Download URL: electrum_aionostr-0.0.11.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0eeb1d01e55d4bab2c116268965a0b2c11490659e969fd864c453104558bcf81
|
|
MD5 |
b1f303118594fb3fa228d9c995964bbd
|
|
BLAKE2b-256 |
9b541e6d5b3745a681b34b5256c332535f4c10749f34f49d526d8ae206acc6a6
|